package com.san.hkhospital.mapper;

import com.san.hkhospital.entity.Payin;
import com.san.hkhospital.entity.PayinExample;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

/**
 * ClassName:PayinMapper
 * PackageName:com.san.hkhospital.mapper
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 19:26
 */


public interface PayinMapper {
    long countByExample(PayinExample example);

    int deleteByExample(PayinExample example);

    int deleteByPrimaryKey(Integer inId);

    int insert(Payin record);

    int insertSelective(Payin record);

    List<Payin> selectByExample(PayinExample example);

    Payin selectByPrimaryKey(Integer inId);

    int updateByExampleSelective(@Param("record") Payin record, @Param("example") PayinExample example);

    int updateByExample(@Param("record") Payin record, @Param("example") PayinExample example);

    int updateByPrimaryKeySelective(Payin record);

    int updateByPrimaryKey(Payin record);


    List<Payin> searchPayIn(Map<String, String> params);
}